library = {
	_entity = {
		MotorApplyTorque = [[function(nent,...)
			local ent = __entity.GetEnt(nent)
			if ent then
				local motor = ent:GetMotor()
				if motor:IsValid() then
					local speed = tonumber(arg[1]) or 0
					Msg("WHLSPEED: ",speed,"\n")
					motor:Fire("Scale",speed,0)
					motor:GetTable().forcescale = speed
					motor:Fire("Activate","",0)
					
					return true
				end
			end
		end]],
	},
}